<template>
  <div class="nav-list pc-only">
    <div style="margin-bottom: 30px;">
      <div class="subtitle-th">
        <span>导航栏目</span>
        <!-- <a class="more" href="javascript: void(0);"></a> -->
      </div>
      <div class="subtitle-item">
        <a class="link" :href="'/#/company-profile/'"><i class="icon"></i>{{ $t('navbar.introduction') }}</a>
      </div>
      <div class="subtitle-item">
        <a class="link" :href="'/#/product-center/9'"><i class="icon"></i>{{ $t('navbar.product') }}</a>
      </div>
      <div class="subtitle-item">
        <a class="link" :href="'/#/service/'"><i class="icon"></i>{{ $t('navbar.service') }}</a>
      </div>
      <div class="subtitle-item">
        <a class="link" :href="'/#/news-dynamic/'"><i class="icon"></i>{{ $t('navbar.news') }}</a>
      </div>
    </div>
    <div>
      <div class="subtitle-th">
        <span>{{ $t('navbar.contact') }}</span>
        <!-- <a class="more" href="javascript: void(0);"></a> -->
      </div>
      <table>
        <tr>{{ $t('contact.phone') }}：4006011109 / 0571-86986789</tr>
        <tr>{{ $t('contact.fax') }}：0571-85811888</tr>
        <!-- <tr>{{ $t('contact.company') }}：浙江恒喆自动化设备有限公司</tr> -->
        <tr>{{ $t('contact.address') }}：浙江省杭州市汇禾领府3幢15层</tr>
      </table>
    </div>
  </div>
</template>

<script>
  export default {
    name: 'nav-list',
  }
</script>

<style lang="less">
  @import '~COMMON/common.less';

  .nav-list {
    display: inline-block;
    vertical-align: top;
    width: 240px;
    margin-right: 20px;
    .On-xs({
      display: none;
    });
    table {
      font-size: 14px;
      color: #656464;
      line-height: 30px;
    }
    .subtitle-th {
      padding-bottom: 10px;
      margin-bottom: 15px;
      border-bottom: 1px solid #d9d9d9;
      >span {
        display: inline-block;
        line-height: 22px;
        padding-left: 10px;
        font-size: 20px;
        color: #006d60;
        border-left: 5px solid #006d60;
      }
    }
    .subtitle-item {
      .icon {
        display: inline-block;
        vertical-align: middle;
        width: 10px;
        height: 10px;
        background: url('http://www.emerosn.cc/Home/Tpl/default/Public/images/left_li.gif') no-repeat;
      }
      .link {
        cursor: pointer;
        box-sizing: border-box;
        display: inline-block;
        width: 100%;
        line-height: 36px;
        border-bottom: 1px solid #f2f2f2;
        font-size: 14px;
        color: #656464;
        padding-left: 20px;
        &:hover {
          color: #006d60;
        }
      }
    }
    .subtitle-item .link{
      // cursor: pointer;
      // box-sizing: border-box;
      // display: inline-block;
      // width: 100%;
      // line-height: 48px;
      // color: #666;
      // background-color: #f7f7f7;
      // padding-left: 20px;
      // &:hover {
      //   background-color: #339186;
      //   color: #fff;
      // }
      // &.active {
      //   background-color: #339186;
      //   color: #fff;
      // }
    }
  }
</style>